<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.4"/>
<title>CMPE352_Group7_Project_Our_City: MainTest Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">CMPE352_Group7_Project_Our_City
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.4 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classMainTest-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">MainTest Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a9dadaed7a4f631cd3d85a9d77305cd9a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMainTest.html#a9dadaed7a4f631cd3d85a9d77305cd9a">testHello</a> ()</td></tr>
<tr class="separator:a9dadaed7a4f631cd3d85a9d77305cd9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7de19f1812544e7e415e77849f242104"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMainTest.html#a7de19f1812544e7e415e77849f242104">testHail</a> ()</td></tr>
<tr class="separator:a7de19f1812544e7e415e77849f242104"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1fa126c4057d45543034a31e8b7937b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMainTest.html#ad1fa126c4057d45543034a31e8b7937b">testGood_day</a> ()</td></tr>
<tr class="separator:ad1fa126c4057d45543034a31e8b7937b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4946c8d0acae35488fa6425a0ca9f308"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMainTest.html#a4946c8d0acae35488fa6425a0ca9f308">testPower</a> ()</td></tr>
<tr class="separator:a4946c8d0acae35488fa6425a0ca9f308"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af14791f602e9c35316dafe2e74788954"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMainTest.html#af14791f602e9c35316dafe2e74788954">testPrintGrade</a> ()</td></tr>
<tr class="separator:af14791f602e9c35316dafe2e74788954"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f528af48c2f27237f3d7ffaa2506d72"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMainTest.html#a9f528af48c2f27237f3d7ffaa2506d72">testFibo_Burak</a> ()</td></tr>
<tr class="separator:a9f528af48c2f27237f3d7ffaa2506d72"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafd58f240178a7cb2945ad3b7f2b44a3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMainTest.html#aafd58f240178a7cb2945ad3b7f2b44a3">testFindMax</a> ()</td></tr>
<tr class="separator:aafd58f240178a7cb2945ad3b7f2b44a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="MainTest_8java_source.html#l00010">10</a> of file <a class="el" href="MainTest_8java_source.html">MainTest.java</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a9f528af48c2f27237f3d7ffaa2506d72"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MainTest.testFibo_Burak </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="MainTest_8java_source.html#l00046">46</a> of file <a class="el" href="MainTest_8java_source.html">MainTest.java</a>.</p>
<div class="fragment"><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;                                {</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;        assertEquals(<span class="stringliteral">&quot;The result should be 1&quot;</span>,0, <a class="code" href="classMain.html">Main</a>.<a class="code" href="classMain.html#a3ac8265c18af700cf80bdca64b841530">fibo_Burak</a>(1));</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;        assertEquals(<span class="stringliteral">&quot;The result should be 1&quot;</span>,1, <a class="code" href="classMain.html">Main</a>.<a class="code" href="classMain.html#a3ac8265c18af700cf80bdca64b841530">fibo_Burak</a>(2));</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;        assertEquals(<span class="stringliteral">&quot;The result should be 2&quot;</span>,2, <a class="code" href="classMain.html">Main</a>.<a class="code" href="classMain.html#a3ac8265c18af700cf80bdca64b841530">fibo_Burak</a>(3));</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="aafd58f240178a7cb2945ad3b7f2b44a3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MainTest.testFindMax </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="MainTest_8java_source.html#l00053">53</a> of file <a class="el" href="MainTest_8java_source.html">MainTest.java</a>.</p>
<div class="fragment"><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;                             {</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;        assertEquals(<span class="stringliteral">&quot;The result should be 2&quot;</span>,2, <a class="code" href="classMain.html">Main</a>.<a class="code" href="classMain.html#ac3e4729d6daad5aa56b61a05a45f5885">findMax</a>(1,2));</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;        assertEquals(<span class="stringliteral">&quot;The result should be 102&quot;</span>,102, <a class="code" href="classMain.html">Main</a>.<a class="code" href="classMain.html#ac3e4729d6daad5aa56b61a05a45f5885">findMax</a>(89,102));</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;        assertEquals(<span class="stringliteral">&quot;The result should be 68795&quot;</span>,68795, <a class="code" href="classMain.html">Main</a>.<a class="code" href="classMain.html#ac3e4729d6daad5aa56b61a05a45f5885">findMax</a>(5698,68795));</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="ad1fa126c4057d45543034a31e8b7937b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MainTest.testGood_day </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="MainTest_8java_source.html#l00026">26</a> of file <a class="el" href="MainTest_8java_source.html">MainTest.java</a>.</p>
<div class="fragment"><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;                              {</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;        assertEquals(<span class="stringliteral">&quot;The result should be &#39;Good morning!&#39;&quot;</span>,<span class="stringliteral">&quot;Good morning!&quot;</span>, <a class="code" href="classMain.html">Main</a>.<a class="code" href="classMain.html#ab755667431985084971e7cf91e0212e8">good_day</a>(4));</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;        assertEquals(<span class="stringliteral">&quot;The result should be &#39;Good afternoon!&#39;&quot;</span>,<span class="stringliteral">&quot;Good afternoon!&quot;</span>, <a class="code" href="classMain.html">Main</a>.<a class="code" href="classMain.html#ab755667431985084971e7cf91e0212e8">good_day</a>(13));</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;        assertEquals(<span class="stringliteral">&quot;The result should be &#39;Good evening!&#39;&quot;</span>,<span class="stringliteral">&quot;Good evening!&quot;</span>, <a class="code" href="classMain.html">Main</a>.<a class="code" href="classMain.html#ab755667431985084971e7cf91e0212e8">good_day</a>(20));</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;        assertEquals(<span class="stringliteral">&quot;The result should be &#39;Good night!&#39;&quot;</span>,<span class="stringliteral">&quot;Good night!&quot;</span>, <a class="code" href="classMain.html">Main</a>.<a class="code" href="classMain.html#ab755667431985084971e7cf91e0212e8">good_day</a>(2));</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;    }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a7de19f1812544e7e415e77849f242104"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MainTest.testHail </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="MainTest_8java_source.html#l00018">18</a> of file <a class="el" href="MainTest_8java_source.html">MainTest.java</a>.</p>
<div class="fragment"><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;                           {</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;        String name = <span class="stringliteral">&quot;ali&quot;</span>;</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;        assertEquals(<span class="stringliteral">&quot;Hello, ali!\nMerhaba, ali!\nSalut, ali!\nSaluton, ali!\n&quot;</span>,<span class="stringliteral">&quot;Hello, &quot;</span>+name+<span class="stringliteral">&quot;!\nMerhaba, &quot;</span>+name+<span class="stringliteral">&quot;!\nSalut, &quot;</span>+name+<span class="stringliteral">&quot;!\nSaluton, &quot;</span>+name+<span class="stringliteral">&quot;!\n&quot;</span>, <a class="code" href="classMain.html">Main</a>.<a class="code" href="classMain.html#af82bc1d35282d82ba78bea4b64d327e9">hail</a>(name));</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;        String name2 = <span class="stringliteral">&quot;veli&quot;</span>;</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;        assertEquals(<span class="stringliteral">&quot;Hello, veli!\nMerhaba, veli!\nSalut, veli!\nSaluton, veli!\n&quot;</span>,<span class="stringliteral">&quot;Hello, &quot;</span>+name2+<span class="stringliteral">&quot;!\nMerhaba, &quot;</span>+name2+<span class="stringliteral">&quot;!\nSalut, &quot;</span>+name2+<span class="stringliteral">&quot;!\nSaluton, &quot;</span>+name2+<span class="stringliteral">&quot;!\n&quot;</span>, <a class="code" href="classMain.html">Main</a>.<a class="code" href="classMain.html#af82bc1d35282d82ba78bea4b64d327e9">hail</a>(name2));</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;    }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a9dadaed7a4f631cd3d85a9d77305cd9a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MainTest.testHello </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="MainTest_8java_source.html#l00013">13</a> of file <a class="el" href="MainTest_8java_source.html">MainTest.java</a>.</p>
<div class="fragment"><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;                            {</div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;        assertEquals(<span class="stringliteral">&quot;The result should be &#39;Hello World!&#39;&quot;</span>,<span class="stringliteral">&quot;Hello World!&quot;</span>, <a class="code" href="classMain.html">Main</a>.<a class="code" href="classMain.html#aa3fcece398096f72f69fcc4910c694f1">hello</a>());</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;    }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a4946c8d0acae35488fa6425a0ca9f308"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MainTest.testPower </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="MainTest_8java_source.html#l00034">34</a> of file <a class="el" href="MainTest_8java_source.html">MainTest.java</a>.</p>
<div class="fragment"><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;                           {</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;        assertEquals(<span class="stringliteral">&quot;The result should be 16&quot;</span>,4*4, <a class="code" href="classMain.html">Main</a>.<a class="code" href="classMain.html#aaccf3e419d5a3e904ff68ed6d82731a5">power</a>(4));</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;        assertEquals(<span class="stringliteral">&quot;The result should be 625&quot;</span>,25*25, <a class="code" href="classMain.html">Main</a>.<a class="code" href="classMain.html#aaccf3e419d5a3e904ff68ed6d82731a5">power</a>(25));</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="af14791f602e9c35316dafe2e74788954"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MainTest.testPrintGrade </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="MainTest_8java_source.html#l00040">40</a> of file <a class="el" href="MainTest_8java_source.html">MainTest.java</a>.</p>
<div class="fragment"><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;                                {</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;        assertEquals(<span class="stringliteral">&quot;The result should be A&quot;</span>,<span class="stringliteral">&quot;A&quot;</span>, <a class="code" href="classMain.html">Main</a>.<a class="code" href="classMain.html#af910bff5118c8facbd0a464fed9aeb54">printGrade</a>(96.0));</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;        assertEquals(<span class="stringliteral">&quot;The result should be B&quot;</span>,<span class="stringliteral">&quot;B&quot;</span>, <a class="code" href="classMain.html">Main</a>.<a class="code" href="classMain.html#af910bff5118c8facbd0a464fed9aeb54">printGrade</a>(85.0));</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    }</div>
</div><!-- fragment -->
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/home/pinar/cmpesweng2013group7/src/<a class="el" href="MainTest_8java_source.html">MainTest.java</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu May 23 2013 11:38:47 for CMPE352_Group7_Project_Our_City by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.4
</small></address>
</body>
</html>
